﻿using OddUserManager.Model;
using System;
using System.Collections.Generic;
using System.Text;

namespace OddUserManager.Service.IServices
{
    public interface IBookMarkService
    {
        List<BookMark> GetAllMarkList();

        PageViewCollection<BookMark> SearchMarkPages(BookMark param, int pageIndex, int pageSize, string sortColumn, string sortDirection);

        BookMark Get(int id);

        IEnumerable<BookMark> GetAllList();

        bool UpdateOrInsert(BookMark entity);

        void DeleteBatch(List<int> ids);

        List<BookMark> GetListOrderByIndex();
    }
}
